package com.lwc.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.hibernate.validator.constraints.Length;


import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@ApiModel("续费")
@Data
public class Xufei {
    @ApiModelProperty(value = "企业ID",required = true)
    @NotNull(message = "企业的ID不能为空")
            @Min(value = 1,message = "请输入正确的企业ID")
    int eid;

    @ApiModelProperty(value = "续费月数")
    @Min(value = 1,message = "最少续费1个月")
            @NotNull(message = "续费月数不能为空")
    int month;


    @ApiModelProperty(value = "续费余额",required = true)
            @Min(value = 1,message = "最少续费1元")
    double money;

}
